/*
// * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.hochschild.aplicacion.service.implementation;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.hochschild.aplicacion.dao.DataBaseDao;
import com.hochschild.aplicacion.service.DataBaseManager;

/**
 *
 * @author Edson
 */
@Service
public class SimpleDataBaseManager implements DataBaseManager {

	@Autowired
    public DataBaseDao dataBaseDao;

    public String getBDVersion() {
        return dataBaseDao.getDataBaseVersion();
    }

    public DataBaseDao getDataBaseDao() {
        return dataBaseDao;
    }

    public void setDataBaseDao(DataBaseDao dataBaseDao) {
        this.dataBaseDao = dataBaseDao;
    }

}
